package com.gosophia.commons.web.bean;

/**
 * 
 * 功能：      页面显示基本信息
 * @author renxuehui
 * @since  2010-9-19
 *  Copyright (c) 2010 Gosophia corporation All Rights Reserved
 */
public class BaseUIInfo extends BaseJsonObject{

    /**
     * 显示中文名
     */
    private String cnFieldName;

    /**
     * 实体属性名，查询时提交回给页面
     */
    private String propertyName;

    /**
     * 页面展示类型
     * text:文本, int:数字, double:小数, link:超链接, select:下拉列表
     */
    private String uiType;
    
    public BaseUIInfo() {
        super();
    }
    
    public BaseUIInfo(String cnFieldName, String propertyName, String uiType) {
        super();
        this.cnFieldName = cnFieldName;
        this.propertyName = propertyName;
        this.uiType = uiType;
    }

    public String getCnFieldName() {
        return cnFieldName;
    }

    public void setCnFieldName(String cnFieldName) {
        this.cnFieldName = cnFieldName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getUiType() {
        return uiType;
    }

    public void setUiType(String uiType) {
        this.uiType = uiType;
    }
}
